package com.fj.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.fj.mapper.DataDictionaryMapper;
import com.fj.entity.DataDictionary;
import com.fj.service.DataDictionaryService;
@Service
public class DataDictionaryServiceImpl implements DataDictionaryService{

    @Resource
    private DataDictionaryMapper dataDictionaryMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return dataDictionaryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(DataDictionary record) {
        return dataDictionaryMapper.insert(record);
    }

    @Override
    public int insertSelective(DataDictionary record) {
        return dataDictionaryMapper.insertSelective(record);
    }

    @Override
    public DataDictionary selectByPrimaryKey(Long id) {
        return dataDictionaryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(DataDictionary record) {
        return dataDictionaryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(DataDictionary record) {
        return dataDictionaryMapper.updateByPrimaryKey(record);
    }

}
